home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
10,000 Great Games
/
10,000 Great Games.iso
/
Product
/
66
/
data1.cab
/
Source_Files
/
Src
/
FScenery.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-01-16
|
354b
|
25 lines
#include "stdafx.h"
cFallingScenery::cFallingScenery(int _x, int _y, cProperties *_orig)
: cScenery(_x, _y, _orig, "MOVING")
{
}
cFallingScenery::~cFallingScenery()
{
}
int cFallingScenery::control()
{
if (explode)
return FALSE;
make_trail();
cScenery::control();
bounce_on_boundaries();
return !in_water();
}